package com.art.wisdom.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 
 * @author xiezhiwei
 * @email xiezhiwei0314@126.com
 *
 */
@Component
@ConfigurationProperties
@PropertySource("classpath:application.yml")
public class GlobalProperties {
	
    private int threadPool;
	  
	private String email;

	public int getThreadPool() {
		return threadPool;
	}

	public void setThreadPool(int threadPool) {
		this.threadPool = threadPool;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	    
	  
}
